@mixin set-widths($widths) {
  .field-array-of-object {
    @for $i from 1 through length($widths) {
      .rjsf__array-schema-field__title-item-list {
        > .rjsf__array-schema-field__title-item:nth-child(#{$i}) {
          flex: 0 0 auto;
          width: nth($widths, $i) !important;
        }
      }

      fieldset > .ant-row {
        > .ant-col:nth-child(#{$i + 1}) {
          flex: 0 0 auto;
          width: nth($widths, $i) !important;
        }
      }
    }
  }
}

.command-form_cmd-cad-loft-surface {
  width: 700px !important;

  #root > .ant-row {
    > .ant-col:nth-child(1) {
      @include set-widths((150px, 120px, 100px, 120px));
    }

    > .ant-col:nth-child(2) {
      @include set-widths((180px, 160px, 150px));
    }
  }
}
